package sg.edu.nus.iss.billing.entity.service;

import java.math.BigDecimal;

import sg.edu.nus.iss.billing.entity.RecordState;


public class DigitalVoiceService extends PackageService implements RateChargable, Installable, Callable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6465307979574496393L;
	private BigDecimal installationCharges;
	private RateUnit rateUnit;
	private BigDecimal serviceRate;
	
	
	public DigitalVoiceService(){
		
	}

	public DigitalVoiceService(String serviceProductID, String serviceName,
			BigDecimal fixedMonthlyCharge, RecordState active) {
		
		this.serviceProductID = serviceProductID;
		this.serviceName = serviceName;
		this.fixedMonthlyCharge = fixedMonthlyCharge;
		this.active = active;
		
	}
	
	public BigDecimal getInstallationCharges() {
		return installationCharges;
	}

	public void setInstallationCharges(BigDecimal installationCharges) {
		this.installationCharges = installationCharges;
	}

	public RateUnit getRateUnit() {
		return rateUnit;
	}

	public void setRateUnit(RateUnit rateUnit) {
		this.rateUnit = rateUnit;
	}

	public BigDecimal getServiceRate() {
		return serviceRate;
	}

	public void setServiceRate(BigDecimal serviceRate) {
		this.serviceRate = serviceRate;
	}
	
	
	@Override
	public String toString() {
		return "DigitalVoiceService [serviceProductID=" + serviceProductID
				+ ", serviceName=" + serviceName 
				+ ", fixedMonthlyCharge="+ fixedMonthlyCharge 
				+ ", rateUnit=" + rateUnit
				+ ", serviceRate=" + serviceRate
				+ ", installationCharges=" + installationCharges + "]";
	}
	
}
